package sameClasses;

import java.io.Serializable;

public class EncryptedData implements Serializable {

  private byte[] iv;
  private byte[] encData;
  
  public EncryptedData(byte[] iv, byte[] encData) {
    this.iv = iv;
    this.encData = encData;
  }
  
  public byte[] getIV() {
    return this.iv;
  }
  
  public byte[] getEncData() {
    return this.encData;
  }
  
  @Override
  public String toString() {
    return new String(this.encData);
  }
}
